<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xmlns="http://www.springframework.org/schema/beans"
       xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd"
       default-lazy-init="true">
 <#if entityMapper??>
    <bean id="${packageCode}.${moduleMapperCode}.po.${businessCode}.triggerScriptConfig" parent="generatorRedundancyTriggerScriptConfig">
        <property name="updateTableName" value="${(entityMapper.tableName)!}"/>
        <property name="defaultMap">
            <map>
                <entry key="dataTableName" value="C1_DICTIONARY"/>
                <entry key="dataPrimaryKeyName" value="ID"/>
            </map>
        </property>
        <property name="mapList">
            <list>
                <map>
                    <entry key="updateForeignKeyName" value="STATE_ID"/>
                    <entry key="updateFieldName" value="STATE_CODE"/>
                    <entry key="dataFieldName" value="CODE"/>

                    <entry key="updateForeignKeyName1" value="STATE_ID"/>
                    <entry key="updateFieldName1" value="STATE_NAME"/>
                    <entry key="dataFieldName1" value="NAME"/>
                </map>
                <map>
                    <entry key="updateForeignKeyName" value="DATA_STATE_ID"/>
                    <entry key="updateFieldName" value="DATA_STATE_CODE"/>
                    <entry key="dataFieldName" value="CODE"/>

                    <entry key="updateForeignKeyName1" value="DATA_STATE_ID"/>
                    <entry key="updateFieldName1" value="DATA_STATE_NAME"/>
                    <entry key="dataFieldName1" value="NAME"/>
                </map>
            </list>
        </property>
    </bean>
 </#if>
</beans>
